package com.musketeers.tiktok.domain;

import com.musketeers.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.musketeers.common.annotation.Excel;
import com.musketeers.common.core.domain.BaseEntity;

/**
 * 我的任务对象 tiktok_job
 *
 * @author musketeers
 * @date 2023-12-28
 */
public class TiktokJob extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    @Excel(name = "用户名称")
    private String userName;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String jobName;

    /** 任务类型（1跳转轻抖 2刷同城 3取关） */
    @Excel(name = "任务类型", readConverterExp = "1=跳转轻抖,2=刷同城,3=取关")
    private Long jobType;

    private SysUser sysUser;

    public SysUser getSysUser() {
        return sysUser;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setJobName(String jobName)
    {
        this.jobName = jobName;
    }

    public String getJobName()
    {
        return jobName;
    }
    public void setJobType(Long jobType)
    {
        this.jobType = jobType;
    }

    public Long getJobType()
    {
        return jobType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("jobName", getJobName())
            .append("jobType", getJobType())
            .toString();
    }
}
